package com.xzy.order_service.service;

import com.xzy.order_service.service.impl.OrderClientFallback;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "PRODUCT-SERVICE",fallback = OrderClientFallback.class)
public interface OrderClient {
    @GetMapping("api/v1/product/findById")
    String findById(int id);
}
